package com.k8.rpc.result;

import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;

/**
 * @Author: k8
 * @CreateTime: 2025-03-28
 * @Version: 1.0
 */
@FunctionalInterface
public interface FutureFunction {
    Object apply(Future<?> future, long timeOut, TimeUnit timeUnit);
}
